tests: Remove unused variable
authorBenjamin Otte <otte@gnome.org>
Sun, 7 Feb 2016 18:18:00 +0000 (19:18 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 11 Feb 2016 02:44:47 +0000 (03:44 +0100)
tests/gtkoffscreenbox.c

index 2fb20ef7db3c319ead051dcace5cfaa5ce2d4a43..f0a82257549286eaa6dee96cdc399ba6f17ce91d 100644 (file)
@@ -252,7 +252,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
 {
   GtkOffscreenBox *offscreen_box = GTK_OFFSCREEN_BOX (widget);
   GtkAllocation allocation, child_area;
-  GtkStyleContext *context;
   GdkWindow *window;
   GdkWindowAttr attributes;
   gint attributes_mask;
@@ -345,8 +344,6 @@ gtk_offscreen_box_realize (GtkWidget *widget)
   g_signal_connect (offscreen_box->offscreen_window2, "from-embedder",
                    G_CALLBACK (offscreen_window_from_parent2), offscreen_box);
 
-  context = gtk_widget_get_style_context (widget);
-
   gdk_window_show (offscreen_box->offscreen_window1);
   gdk_window_show (offscreen_box->offscreen_window2);
 }